// Package storeorder
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2024 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.7
package storeorder

import (
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询订单列表
type ListReq struct {
	g.Meta `path:"/storeOrder/list" method:"get" tags:"订单" summary:"获取订单列表"`
	sysin.StoreOrderListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.StoreOrderListModel `json:"list"   dc:"数据列表"`
}

// ExportReq 导出订单列表
type ExportReq struct {
	g.Meta `path:"/storeOrder/export" method:"get" tags:"订单" summary:"导出订单列表"`
	sysin.StoreOrderListInp
}

type ExportRes struct{}

// ViewReq 获取订单指定信息
type ViewReq struct {
	g.Meta `path:"/storeOrder/view" method:"get" tags:"订单" summary:"获取订单指定信息"`
	sysin.StoreOrderViewInp
}

type ViewRes struct {
	*sysin.StoreOrderViewModel
}

// EditReq 修改/新增订单
type EditReq struct {
	g.Meta `path:"/storeOrder/edit" method:"post" tags:"订单" summary:"修改/新增订单"`
	sysin.StoreOrderEditInp
}

type EditRes struct{}

// DeleteReq 删除订单
type DeleteReq struct {
	g.Meta `path:"/storeOrder/delete" method:"post" tags:"订单" summary:"删除订单"`
	sysin.StoreOrderDeleteInp
}

type DeleteRes struct{}

// StatusReq 更新订单状态
type StatusReq struct {
	g.Meta `path:"/storeOrder/status" method:"post" tags:"订单" summary:"更新订单状态"`
	sysin.StoreOrderStatusInp
}

type StatusRes struct{}